import invariant from "tiny-invariant";
import { DeleteDevice } from "~/lib/server";
import type { Route } from "./+types/delete";



export async function clientAction({ params }: Route.ActionArgs) {
    invariant(params.id, "Missing device id param");

    const response = await DeleteDevice(params.id);

    return response

}

export function RemoveDevice({ id }: { id: string }) {

}